docs: clarify capture fixture precedence over -s#14053
Merged
nicoddemus merged 4 commits intopytest-dev:mainfrom Dec 28, 2025
Merged
docs: clarify capture fixture precedence over -s#14053nicoddemus merged 4 commits intopytest-dev:mainfrom
nicoddemus merged 4 commits intopytest-dev:mainfrom
Conversation
Contributor
Author
|
The docs build failure appears to be unrelated to this change. |
Contributor
Author
|
@Zac-HD Could you please check if that what you had in mind for the issue? |
Zac-HD
reviewed
Dec 21, 2025
Member
Zac-HD
left a comment
There was a problem hiding this comment.
Looks great - thanks for the PR, @Bubble-Interface!
(the CI failure looks unrelated to me)
Zac-HD
approved these changes
Dec 21, 2025
Member
|
The CI failure is being addressed in #14067. |
nicoddemus
requested changes
Dec 27, 2025
0ba948a to
bb28508
Compare
Backport to 9.0.x: 💚 backport PR created✅ Backport PR branch: Backported as #14073 🤖 @patchback |
nicoddemus
pushed a commit
that referenced
this pull request
Dec 28, 2025
Clarify in the capturing tutorial that using capture fixtures such as capsys or capfd re-enables capturing for the duration of the test, even when global capturing is disabled via `-s` or `--capture=no`. Closes #13731 (cherry picked from commit 8f5b07d) Co-authored-by: Bubble-Interface <interfacemichael@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #13731
Clarify in the capturing tutorial that using capture fixtures such as
capsysorcapfdre-enables capturing for the duration of the test, even when global capturing is disabled via-sor--capture=no.